package com.wwwarehouse.taskcenter.bean.job_point;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;

/**
 * author ：minifly
 * date: 2017/10/28
 * time: 14:38
 * desc:
 */
public class AddJobPointStep4LookmessResponseBean implements Parcelable {


    private ArrayList<ListBean> list;

    public ArrayList<ListBean> getList() {
        return list;
    }

    public void setList(ArrayList<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable {
        /**
         * name : name12
         * num : 1
         */

        private String name;
        private String num;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }


        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.name);
            dest.writeString(this.num);
        }

        public ListBean() {
        }

        protected ListBean(Parcel in) {
            this.name = in.readString();
            this.num = in.readString();
        }

        public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeTypedList(this.list);
    }

    public AddJobPointStep4LookmessResponseBean() {
    }

    protected AddJobPointStep4LookmessResponseBean(Parcel in) {
        this.list = in.createTypedArrayList(ListBean.CREATOR);
    }

    public static final Parcelable.Creator<AddJobPointStep4LookmessResponseBean> CREATOR = new Parcelable.Creator<AddJobPointStep4LookmessResponseBean>() {
        @Override
        public AddJobPointStep4LookmessResponseBean createFromParcel(Parcel source) {
            return new AddJobPointStep4LookmessResponseBean(source);
        }

        @Override
        public AddJobPointStep4LookmessResponseBean[] newArray(int size) {
            return new AddJobPointStep4LookmessResponseBean[size];
        }
    };
}
